class A {
    constructor(){}
}

class B {
    constructor(){}
}

function test() {
    console.log(this);
}


let a = new A();
let b = new B();

let x = test.bind(a);